package cn.sfrog.system.domain.vo.biz;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;


@Data
@ApiModel(description = "APP版本信息表单VO")
public class SysAppVersionFormVO {
    @ApiModelProperty("id")
    private Long id;

    @NotNull
    @ApiModelProperty("版本号")
    private String versionCode;

    @ApiModelProperty("下载路径")
    private String downloadUrl;

    @ApiModelProperty("版本描述")
    private String description;

    @ApiModelProperty("客户端类型：安卓，IOS")
    private String type;


    @ApiModelProperty("是否强制更新  1 表示强制 0 表示不强制")
    private String isUpVersion;


    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date releaseTime;



    @ApiModelProperty("备注")
    private String remark;


}
